package com.example.demo.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Schema(description = "部门对象")
public class DeptVO implements Serializable {
    @Schema(description = "部门ID")
    private String id;
    @Schema(description = "部门名称")
    private String name;
    @Schema(description = "部门编码")
    private String deptCode;
    @Schema(description = "上级部门ID")
    private String pid;
    @Schema(description = "排序")
    private Integer ordernum;
}
